The architecture of software and hardware of the embedded CAN-Ethernet gateway were introduced, and the principle, the designing methods and technoloques of the CAN Device Driver in uClinux were described. According to the features of the CAN protocol, data package was classified into four groups with different real-time request; the structure of multi-frame was proposed to satisfy the request of sending mass data; the data structure and the method of management for the buffer of the CAN Device Driver were designed to improve the capability of communication.